<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <#include "/comm/module-edit.ftl"/>
</head>
<style type="text/css">

</style>
<body>
<div class="layui-div-body">
    <div class="layui-fluid layui-div-edit">
        <form class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <label class="layui-form-label">iso2</label>
                <div class="layui-input-block">
                    <input type="text" name="iso2" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.iso2!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">iso3</label>
                <div class="layui-input-block">
                    <input type="text" name="iso3" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.iso3!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">中文名</label>
                <div class="layui-input-block">
                    <input type="text" name="nameZh" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.nameZh!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">英文名</label>
                <div class="layui-input-block">
                    <input type="text" name="nameEn" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.nameEn!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">电话区号</label>
                <div class="layui-input-block">
                    <input type="text" name="callingCode" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.callingCode!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">国际代码</label>
                <div class="layui-input-block">
                    <input type="text" name="unCode" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.unCode!}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">所属州</label>
                <div class="layui-input-block">
                    <input type="text" name="continent" placeholder="请输入" lay-verify="required" class="layui-input"
                           value="${info.continent!}">
                </div>
            </div>

            <div class="layui-form-item">
                <button class="layui-btn" lay-submit="" lay-filter="save">立即提交
                </button>
                <#if info._id ==''>
                    <button type="reset" class="layui-btn layui-btn-primary" id="btn-reset">重置</button>
                </#if>
                <input type="hidden" id="_id" name="_id" value="${info._id}"/>
            </div>
        </form>
    </div>
</div>
<script>
    layui.use("edit", function () {
        let edit = layui.edit;
        edit.render()
    });
</script>
</body>

</html>
